﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _001
{
    internal class Program
    {
        struct Student
        {
            public string name;
            public int age;
            public Student(string name,int age)
            {
                this.name = name;
                this.age = age;
            }
        }
        static void Main(string[] args)
        {
            Student s1 = new Student();
            Console.WriteLine(s1.name);
            Console.WriteLine(s1.age);
            s1.name = "HLJ";
            s1.age = 11;
            Console.WriteLine(s1.name);
            Console.WriteLine(s1.age);
            Student s2 = new Student("C#", 18);
            Console.WriteLine(s2.name);
            Console.WriteLine(s2.age);
            Console.ReadKey();
        }
    }
}
